<!DOCTYPE html>
<html>
<head>
    {include file="public/meta"}
	<title>iframe播放器</title>
	<style>html,body{width:100%;height:100%;background:#000;color:#fff;}</style>
	{include file="public/include"}
</head>
<body topmargin="0" leftmargin="0" marginheight="0" marginwidth="0">
{$player_data}
{$player_js}
{if condition="$popedom.code gt 1"/}
<div class="hl-player-showtry" style="display:none;">
    <div class="hl-player-box">
        <div class="hl-player-popeom">
            {if condition="$obj.vod_points_down eq 0"}
            <p class="time">试看{$popedom.trysee}分钟结束</p>
			<p class="tips">完整观看本影片需要升级会员组，请升级后观看</p>
            <p class="tips2">提示：购买VIP会员组，享受超级权限，谢谢支持</p>
            <div class="btn"><a class="sj" href="{:url('user/upgrade')}" target="_blank">马上升级</a><a class="zx" href="{:url('user/index')}" target="_blank">会员中心</a></div>
            {else/}
            <p class="time">试看{$popedom.trysee}分钟结束</p>
			<p class="tips">完整观看本影片需要花费{$obj.vod_points_play}积分，请支付后观看</p>
            <p class="tips2">提示：一次支付，永久观看，不重复扣费，谢谢支持</p>
            {if condition="$user.group.group_id eq 1"}
            <div class="btn"><a class="dl hl-bg-conch" href="{:url('user/login')}" target="_blank">马上登录</a></div>
            {else/}
            <div class="btn"><a class="cz hl-text-conch" href="{:url('user/buy')}" target="_blank">马上充值</a><a class="gm hl-bg-conch" href="javascript:;" onclick="window.parents.MAC.User.BuyPopedom(this)" data-id="{$obj.vod_id}" data-sid="{$param.sid}" data-nid="{$param.nid}" data-type="5">确认购买</a></div>
            {/if}
            {/if}
        </div>
    </div>
</div>
<script>
    //方式一本页面计算
     window.setTimeout(function(){
     $('.MacPlayer').html( $('.hl-player-showtry').html() );
     },1000*60*{$popedom.trysee});

    //方式二调用父页面公共函数库
    //window.parent.MAC.User.PopedomCallBack({$popedom.trysee},$('.hl-player-showtry').html() );
</script>
{/if}
</body>
</html>